<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Canvas 设置文本</title>
  <style>
    canvas {
      border: 1px solid #999;
    }
  </style>
</head>
<body>
  <canvas id="canvas" width="500" height="500"></canvas>、
  <h1>绘制字体</h1>
  <ul>
  	<li>填充的字体 context.fillText();</li>
  	<li>字体的轮廓 context.srokeText();</li>
  </ul>
</body>
<script src="./app.js"></script>
</html>